Use groupingBy and filtering out entire groups

welcome to shbcf.ru